package com.pzhu.dormitory.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author
 * @email
 * @date 2021-05-01 15:11:29
 */
@Data
@ToString
@TableName("building")
@ApiModel(value = "Building对象", description = "")
public class BuildingEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 名字
     */
    @ApiModelProperty(value = "名字")
    private String name;
    /**
     * 校区id
     */
    @ApiModelProperty(value = "校区id")
    private String campusId;

}
